package com.ruoyi.train.mapper;

import java.util.List;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.ruoyi.train.domain.ExamApplicationStudent;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

/**
 * 考试申请学员Mapper接口
 * 
 * @author wusihao
 * @date 2023-03-26
 */
@Mapper
public interface ExamApplicationStudentMapper extends BaseMapper<ExamApplicationStudent>
{
    /**
     * 查询考试申请学员
     * 
     * @param id 考试申请学员主键
     * @return 考试申请学员
     */
    public ExamApplicationStudent selectExamApplicationStudentById(Long id);

    /**
     * 查询考试申请学员列表
     * 
     * @param examApplicationStudent 考试申请学员
     * @return 考试申请学员集合
     */
    public List<ExamApplicationStudent> selectExamApplicationStudentList(ExamApplicationStudent examApplicationStudent);

    /**
     * 新增考试申请学员
     * 
     * @param examApplicationStudent 考试申请学员
     * @return 结果
     */
    public int insertExamApplicationStudent(ExamApplicationStudent examApplicationStudent);

    /**
     * 修改考试申请学员
     * 
     * @param examApplicationStudent 考试申请学员
     * @return 结果
     */
    public int updateExamApplicationStudent(ExamApplicationStudent examApplicationStudent);

    /**
     * 删除考试申请学员
     * 
     * @param id 考试申请学员主键
     * @return 结果
     */
    public int deleteExamApplicationStudentById(Long id);

    /**
     * 批量删除考试申请学员
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteExamApplicationStudentByIds(Long[] ids);
}
